<% content_for :action_nav do %>
<!-- begin action nav -->
<div id="page-nav">
  <ul id="act-nav" class="clear">
    <li><%= link_to _("Add new user"), :action => "new" %></li>
  </ul>
</div>
<!-- /end action nav -->
<% end %>

<% remote_form_for :user, :url => { :action => 'update', :id => @user }, :html => { :multipart => true } do |f| -%>
<%= render :partial => 'form', :locals => { :f => f, :create => false } %>
<% end -%>